<#assign contextPath=request.getContextPath()>
<!DOCTYPE html>
<html lang="en">
<head>
    <title>木梵管理平台</title>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
    <meta charset="utf-8"/>
    <meta name="description" content="User login page"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0"/>
    <link rel="stylesheet" media="screen" href="${contextPath}/public/css/login.css">
    <!-- scripts -->
    <!--[if !IE]> -->
    <script src="${contextPath}/static/js/jquery-2.1.4.min.js"></script>
    <!-- <![endif]-->
    <!--[if IE]>
    <script src="${contextPath}/static/js/jquery-1.11.3.min.js"></script>
    <![endif]-->
    <script src="${contextPath}/static/js/particles.min.js"></script>
    <script src="${contextPath}/public/js/common/utils/string_utils.js"></script>
    <script src="${contextPath}/public/js/login.js"></script>
</head>
<body>
<#--<div class="login-header">-->
    <#--<div class="login-main">-->
        <#--<div class="login-logo">-->
            <#--<a href="/" >-->
                <#--<img src="${contextPath}/public/images/logo.png" />-->
            <#--</a>-->
        <#--</div>-->
        <#--<ul class="login-nav" id="grace-nav">-->
            <#--<li><a href="/doc" id="nav-doc">框架手册</a></li>-->
        <#--</ul>-->
    <#--</div>-->
<#--</div>-->
<div id="particles-js">
    <div class="login">
        <form id="loginForm" action="${contextPath}/j_spring_security_check" method="post">
            <div class="login-top">
                木梵管理平台
            </div>
            <div class="login-center clearfix">
                <div class="login-center-img"><img src="${contextPath}/public/images/name.png"/></div>
                <div class="login-center-input">
                    <input type="text"
                           id="j_username"
                           name="j_username"
                           placeholder="请输入您的用户名"
                           onfocus="this.placeholder=''"
                           onblur="this.placeholder='请输入您的用户名'"/>
                    <div class="login-center-input-text">用户名</div>
                </div>
            </div>
            <div class="login-center clearfix">
                <div class="login-center-img"><img src="${contextPath}/public/images/password.png"/></div>
                <div class="login-center-input">
                    <input type="password"
                           id="j_password"
                           name="j_password"
                           placeholder="请输入您的密码"
                           onfocus="this.placeholder=''"
                           onblur="this.placeholder='请输入您的密码'"/>
                    <div class="login-center-input-text">密码</div>
                </div>
            </div>
            <button type="button" class="login-button" id="loginBtn">登录</button>
            <div id="login-notice" class="text-danger">
                <#if error?exists>${SPRING_SECURITY_LAST_EXCEPTION.message}</#if>
            </div>
        </form>
    </div>
</div>
</body>
</html>
